#include <iostream>
#include "../ch01/Sales_item.h"

using namespace std;

int main() {
    Sales_item item1, item2;
    cin >> item1 >> item2;
    try {
        cout << item1 + item2 << endl;
    }
    catch (runtime_error err) {
        cout << err.what();
    }
}